<?
$s = inc_incfile("release/setup.php");

echo "<p><a href=\"new/new.php\">Add a {$s["title"]}</a></p>";


global $db;
$pid = $db->sqlint($params["project"]);
inc_incfile("list3.php",array(
	"db"=>&$db,
	"fields"=>$s["fields"],
	"search"=>array("title"),
	"where"=>"project_id = $pid",
	"cols"=>array("title","datetimeon"),
	"orderby"=>"datetimeon",
	"orderdir"=>"desc",
	"table"=>$s["table"],
	"actions"=>array(
		"view"=>"%%/view.php",
		"edit"=>"%%/edit.php",
		"delete"=>"%%/delete.php",
		),
	));
?>
